package com.woniu.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import lombok.*;
;

/**
 * 员工表
 * @TableName employee
 */
@Data
@ToString
@NoArgsConstructor
@AllArgsConstructor
public class Employee implements Serializable {
    /**
     * 
     */
    private Integer employeeId;

    /**
     * 
     */
    private String username;

    /**
     * 
     */
    private String password;

    /**
     * 
     */
    private String name;

    /**
     * 性别
     */
    private String gender;

    /**
     * 出生日期 (用于计算年龄)
     */
    private Date birthDate;

    /**
     * 入职日期 (用于查询和计算工龄)
     */
    private Date hireDate;

    /**
     * 薪水
     */
    private BigDecimal salary;

    /**
     * 关联department
     */
    private Integer deptId;

    /**
     * 状态: 1在职, 0锁定/禁用
     */
    private Integer status;

    private static final long serialVersionUID = 1L;
}